﻿// 标准管理平台

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Passion.iWMS.Application;


/// <summary>
/// 3 出库动作
/// 3.1 发料请求
/// 上位系統請求自動倉進行發料出庫動作。
/// 
/// 存放完後,把所有相關數據上傳,確保正確性。
/// 若異常，則需要傳送錯誤代碼(EndCode)及錯誤原因(EndReason)；若完成入庫，錯誤代碼為0。 
/// 
/// API名稱: [POST] /api/ASRS/StockOutCommand
/// Host -> ASRS
/// </summary>
[SugarTable("ASRS_StockOutCommand_Details", "发料请求_明细表")]
[IncreTable]
public class ASRS_StockOutCommand_Details_3_1 : EntityBase
{
    /// <summary>
    /// 料號代碼
    /// </summary>
    [SugarColumn(ColumnDescription = "料號代碼", Length = 50, IsNullable = true)]
    [MaxLength(50)]
    public string ItemID { get; set; }
    /// <summary>
    /// 出庫品項代碼
    /// </summary>
    [SugarColumn(ColumnDescription = "出庫品項代碼", Length = 50, IsNullable = true)]
    [MaxLength(50)]
    public string RegisterID { get; set; }
}

public class ASRS_StockOutCommand_Details_3_1_Input
{
    /// <summary>
    /// 料號代碼
    /// </summary>
    public string ItemID { get; set; }
    /// <summary>
    /// 出庫品項代碼
    /// </summary>
    public string RegisterID { get; set; }
}
